import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            redirect: '/compose'
        },
        {
            path: '/compose',
            name: 'Compose',
            component: () => import('../views/Compose.vue')
        },
        {
            path: '/human-library',
            name: 'HumanLibrary',
            component: () => import('../views/HumanLibrary.vue')
        },
        {
            path: '/material-library',
            name: 'MaterialLibrary',
            component: () => import('../views/MaterialLibrary.vue')
        },
        {
            path: '/history',
            name: 'History',
            component: () => import('../views/History.vue')
        },
        {
            path: '/settings',
            name: 'Settings',
            component: () => import('../views/Settings.vue')
        }
    ]
})

export default router